package com.xzx.springbootredis.repository;

import com.xzx.springbootredis.entity.Goods;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface GoodsRepository extends JpaRepository<Goods, Integer> {
    Goods findByTitle(String title);
}
